//
// Created by 李传智 on 2018/4/15.
//

#ifndef ANDSDK_FFPLAYERBUILDER_H
#define ANDSDK_FFPLAYERBUILDER_H


#include "IPlayerBuilder.h"

class FFPlayerBuilder : public IPlayerBuilder {

public:

    static FFPlayerBuilder *get();

    static void initHard(void * vm);

protected:

    FFPlayerBuilder() {};

    virtual IDemux *createDemux();

    virtual IDecode *createDecode();

    virtual IResample *createResample();

    virtual IVideoView *createVideoView();

    virtual IAudioPlay *createAudioPlay();

    virtual IPlayer *createPlayer(unsigned char index = 0);

    virtual IRecorder *createRecorder();

};


#endif //ANDSDK_FFPLAYERBUILDER_H
